/**
 * 
 */
package com.xth8013.as.domain;

/**
 * 
 * @Description:
 * @author: tianhua.xie
 * @Date: 2017年4月3日 下午9:22:40 
 * 
 */
public class UserConfigParam extends ValueObject {

	private Integer paramId;// 参数id，既是主键，也是外键，对应user表的userId
	private Integer fontSize;// 字号
	private String fontFamily;// 字体
	private String leftMenu;// 主界面左边菜单的演示，值为 tree（树形菜单）或者accordion（折叠菜单）

	public UserConfigParam() {
		this(null, 16, "微软雅黑", "tree");
	}

	public UserConfigParam(Integer paramId, Integer fontSize, String fontFamily, String leftMenu) {
		super();
		this.paramId = paramId;
		this.fontSize = fontSize;
		this.fontFamily = fontFamily;
		this.leftMenu = leftMenu;
	}

	public Integer getParamId() {
		return paramId;
	}

	public Integer getFontSize() {
		return fontSize;
	}

	public String getFontFamily() {
		return fontFamily;
	}

	public String getLeftMenu() {
		return leftMenu;
	}

	public void setParamId(Integer paramId) {
		this.paramId = paramId;
	}

	public void setFontSize(Integer fontSize) {
		this.fontSize = fontSize;
	}

	public void setFontFamily(String fontFamily) {
		this.fontFamily = fontFamily;
	}

	public void setLeftMenu(String leftMenu) {
		this.leftMenu = leftMenu;
	}

	@Override
	public String toString() {
		return "UserConfigParam [paramId=" + paramId + ", fontSize=" + fontSize + ", fontFamily=" + fontFamily
				+ ", leftMenu=" + leftMenu + "]";
	}

}
